/**
 * Created by lenovo on 2017/5/1.
 */
var option3 = {
    title: {
        "text": '95%',
        "x": '50%',
        "y": '70%',
        textAlign: "center",
        "textStyle": {
            "fontWeight": 'normal',
            "fontSize": 48,
            "color": '#e4e4e4'
        },
        "subtextStyle": {
            "fontWeight": 'normal',
            "fontSize": 18,
            "color": '#e4e4e4'
        }
    },
    series: [
        {
            "name": ' ',
            "type": 'pie',
            center:['50%', '100%'],
            "radius": ['77%', '98%'],
            "avoidLabelOverlap": false,
            "startAngle": 180,
            "color": ["#49adfe", "transparent"],
            "hoverAnimation": false,
            "legendHoverLink": false,
            "label": {
                "normal": {
                    "show": false,
                    "position": 'center'
                },
                "emphasis": {
                    "show": true,
                    "textStyle": {
                        "fontSize": '30',
                        "fontWeight": 'bold'
                    }
                }
            },
            "labelLine": {
                "normal": {
                    "show": false
                }
            },
            "data": [{
                "value": 0,
                "name": '1'
            }, {
                "value": 0,
                "name": '2'
            }]
        },
        {
            "name": '',
            "type": 'pie',
            center:['50%', '100%'],
            "radius": ['77%', '98%'],
            "avoidLabelOverlap": false,
            "startAngle": 0,
            "color": ["#1f427a", "transparent"],
            "hoverAnimation": false,
            "legendHoverLink": false,
            "clockwise": false,
            "itemStyle":{
                "normal":{
                    "borderColor":"transparent",
                    "borderWidth":"20"
                },
                "emphasis":{
                    "borderColor":"transparent",
                    "borderWidth":"20"
                }
            }
            ,
            "z":10,
            "label": {
                "normal": {
                    "show": false,
                    "position": 'center'
                },
                "emphasis": {
                    "show": true,
                    "textStyle": {
                        "fontSize": '30',
                        "fontWeight": 'bold'
                    }
                }
            },
            "labelLine": {
                "normal": {
                    "show": false
                }
            },
            "data": [{
                "name": ''
            }, {
                "name": ''
            }
            ]
        }

    ]
};


option3.title.subtext ="健康检查";
option3.series[1].data[0].value = 5;
option3.series[1].data[1].value = 95;
